package io.github.uicdb.et.data;

import io.github.uicdb.et.ElementalTheory;
import io.github.uicdb.et.ModItems;
import net.neoforged.neoforge.client.model.generators.ItemModelProvider;
import net.neoforged.neoforge.client.model.generators.ModelFile;
import net.neoforged.neoforge.data.event.GatherDataEvent;

class ETtemModelProvider extends ItemModelProvider {
    public ETtemModelProvider(GatherDataEvent event) {
        super(event.getGenerator().getPackOutput(), ElementalTheory.MODID, event.getExistingFileHelper());
    }

    @Override
    protected void registerModels() {
        basicItem(ModItems.RANDOM_CURIO.get());
        basicItem(ModItems.ENDER_LOCK.get());
        basicItem(ModItems.PARALYSIS_RING.get());
        basicItem(ModItems.LUNAR_ECLIPSE.get());
        basicItem(ModItems.SAFTY_HAT.get());
        basicItem(ModItems.SUNLIT.get());
        basicItem(ModItems.WIND_WING.get());
        basicItem(ModItems.LIGHTNING_SWORD.asItem()).parent(new ModelFile.UncheckedModelFile("item/handheld"));
        basicItem(ModItems.DOGE_HAPPY.asItem());
        basicItem(ModItems.THE_ENCHANTING_SCROLL.get());
    }
}
